#ifndef _DEVICEAPLERT_ICE_
#define _DEVICEAPLERT_ICE_

module databean {
enum DeviceAlertType {FENCEALERT,POWERALERT};
    class DeviceAlert {
        ["java:getset"] string id;/*主键id*/
        ["java:getset"] string deviceId;/*触发报警信息设备ID*/
        ["java:getset"] string sourceNumber;/*报警源电话号码*/
        ["java:getset"] string fenceId;/*栅栏id,仅当FENCEALERT时有效*/
        ["java:getset"] string message;/*消息内容*/
        ["java:getset"] long time;/*时间*/
        ["java:getset"] int type;/*消息类型*/
    };
};
#endif